package com.example.api;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * Created by hldev on 16-12-12.
 */
@Component
@ConfigurationProperties("demo.api")
@Data
public class SwaggerApiSetting {

    private boolean show;
    private String group;
    private String title;
    private String description;
    private String version;
    private String termsOfServiceUrl;
    private String contact;
    private String license;
    private String licenseUrl;

    public boolean isShow() {
        return show;
    }

}
